Skip to content

Conversation

@tagyieh
Copy link
Collaborator

@tagyieh tagyieh commented Aug 23, 2025

This PR creates a function that, given a node and a symbol, finds the comments associated with the symbol. A corresponding test suite was also added.

As mentioned in the issue, the considered comments are those that appear in consecutive lines above the node. For this, all comments were captured and only those that meet the criteria are kept.

Closes: #24

@tagyieh tagyieh requested a review from Tobiky August 23, 2025 10:35
@Tobiky Tobiky merged commit 92f4032 into mal-lang:master Aug 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Find comments connected to symbols function

2 participants